package com.bawei.a2010douyin.week3.ui.main;

import com.bawei.a2010douyin.base.mvp.BaseModel;
import com.bawei.a2010douyin.entity.BaseResponse;
import com.bawei.a2010douyin.entity.VideoEntity;

import java.util.List;

import io.reactivex.Observable;

public class MainModel extends BaseModel implements MainContract.IMainModel {
    @Override
    public Observable<BaseResponse<List<VideoEntity>>> video(int currentPage, int pageSize) {
        return mApiServer.video(currentPage,pageSize);
    }
}
